home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 for Intel / NeXTSTEP 3.2 for Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Appendix / aa.nr
Encoding:
Text File  |  1993-04-22  |  10.5 KB  |  211 lines

  1. .Ds U
  2. .Pt Appendix
  3. .Ff A "Alphabetical Listing of Routines" "\*L Reference Manual"
  4. .Ih "routines, alphabetical listing"
  5. .sp -3v
  6. .H1 "\*L Routines"
  7. .in 0
  8. .ta 1.3i
  9. \f3Routine    Description\f1
  10. .sp 0.5v
  11. .nf
  12. .ps -2
  13. dbadata     Return a pointer to the data for a compute column.
  14. dbadlen     Return the actual length of the data for a compute column.
  15. dbaltbind     Bind a compute result column to a program variable.
  16. dbaltcolid     Return the operand column id for a compute column.
  17. dbaltlen     Return the maximum length of the data for a compute column.
  18. dbaltop     Return the type of aggregate operator for a compute column.
  19. dbalttype     Return the datatype for a compute column.
  20. dbbind     Bind a regular result column to a program variable.
  21. dbbylist     Return the bylist for a particular compute row.
  22. dbcancel     Cancel the current command batch.
  23. dbcancel_a     Cancel the current command batch (asynchronous \(em VMS only).
  24. dbcanquery     Cancel any rows pending from the most recently executed query.
  25. dbchange     Determine whether a command batch has changed the current database.
  26. dbclose     Close and de-allocate a single DBPROCESS structure.
  27. dbclrbuf     Drop rows from the row buffer.
  28. dbclropt     Clear an option set by \f2dbsetopt()\f1.
  29. dbcmd     Add text to the DBPROCESS command buffer.
  30. DBCMDROW     Determine whether the current command can return rows.
  31. dbcolbrowse    Determine whether the source of a result column is updatable via the 
  32.     \*L browse-mode facilities.
  33. dbcollen     Return the maximum length, in bytes, of the data for a column.
  34. dbcolname     Return the name of a particular regular result column.
  35. dbcolsource    Return a pointer to the name of the database column from which the
  36.     specified result column was derived.
  37. dbcoltype     Return the datatype for a column.
  38. dbconvert    Convert data from one datatype to another.
  39. DBCOUNT     Return the number of rows affected by a \*N command.
  40. DBCURCMD     Return the number of the current command. 
  41. DBCURROW     Return the number of the row currently being read. 
  42. dbdata     Return a pointer to the data for a regular result column.
  43. dbdatlen     Return the actual length, in bytes, of the data for a column.
  44. DBDEAD    Determine whether a particular DBPROCESS is dead.
  45. dberrhandle    Install a user function to handle \*L errors.
  46. dbexit     Close and de-allocate all DBPROCESS structures, and clean up
  47.     any structures initialized by \f2dbinit()\f1.
  48. dbfcmd     Add text to the DBPROCESS command buffer using C run-time library 
  49.     \f2sprintf\f1-type formatting.
  50. DBFIRSTROW     Return the number of the first row in the row buffer. 
  51. dbfreebuf     Clear the command buffer.
  52. dbfreequal    Free the memory allocated by \f2dbqual()\f1.
  53. dbgetchar     Return a pointer to a character in the command buffer.
  54. dbgetmaxprocs    Determine the current maximum number of simultaneously open 
  55.     DBPROCESSes.
  56. dbgetoff     Check for the existence of \*N constructs in the command 
  57.     buffer.
  58. dbgetrow     Read the specified row in the row buffer.
  59. DBGETTIME    Return the number of seconds that \*L will wait for a \*S 
  60.     response to a SQL command.
  61. dbgetuserdata    Return a pointer to user-allocated data from a DBPROCESS structure.
  62. dbhasretstat    Determine whether the current command or remote procedure call
  63.     generated a return status number.
  64. dbinit    Initialize \*L.
  65. DBIORDESC    Provide program access to the UNIX file descriptor used by a DBPROCESS 
  66.     to read data coming from \*S (UNIX only).
  67. DBIOWDESC    Provide program access to the UNIX file descriptor used by a DBPROCESS 
  68.     to write data to \*S (UNIX only).
  69. DBISAVAIL     Determine whether a DBPROCESS is available for general use.
  70. dbisopt     Check the status of a \*S or \*L option.
  71. DBLASTROW     Return the number of the last row in the row buffer. 
  72. dblogin     Allocate a login record for use in \f2dbopen()\f1.
  73. dbloginfree     Free a login record.
  74. DBMORECMDS     Indicate whether there are more commands to be processed.
  75. dbmoretext    Send part of a text or image value to \*S.
  76. dbmsghandle    Install a user function to handle \*S messages.
  77. dbname     Return the name of the current database.
  78. dbnextrow     Read in the next row.
  79. dbnextrow_a     Read in the next row (asynchronous \(em VMS only).
  80. dbnumalts     Return the number of columns in a particular compute row.
  81. dbnumcols     Determine the number of columns for the current set of results.
  82. dbnumcompute     Return the number of COMPUTE clauses in the current set of results.
  83. DBNUMORDERS     Return the number of columns specified in a \*N SELECT 
  84.     statement's ORDER BY clause.
  85. dbnumrets     Determine the number of return parameter values generated by
  86.     a stored procedure.
  87. dbopen     Create and initialize a DBPROCESS structure.
  88. dbopen_a     Create and initialize a DBPROCESS structure (asynchronous \(em VMS only).
  89. dbordercol     Return the id of a column appearing in the most recently executed query's 
  90.     ORDER BY clause.
  91. dbprhead     Print the column headings for rows returned from \*S.
  92. dbprrow     Print all the rows returned from \*S.
  93. dbprtype     Convert a token value to a readable string.
  94. dbqual    Return a pointer to a WHERE clause suitable for use in updating the current
  95.     row in a browsable table.
  96. DBRBUF     Determine whether the \*L network buffer contains any unread 
  97.     bytes (UNIX only).
  98. dbreadpage     Read in a page of binary data from \*S.
  99. dbresults     Set up the results of the next query.
  100. dbresults_a     Set up the results of the next query (asynchronous \(em VMS only).
  101. dbretdata    Return a pointer to a return parameter value generated by a
  102.     stored procedure.
  103. dbretlen    Determine the length of a return parameter value generated
  104.     by a stored procedure.
  105. dbretname    Determine the name of the stored procedure parameter associated
  106.     with a particular return parameter value.
  107. dbretstatus    Determine the stored procedure status number returned by the
  108.     current command or remote procedure call.
  109. dbrettype    Determine the datatype of a return parameter value generated
  110.     by a stored procedure.
  111. DBROWS     Indicate whether the current command actually returned rows.
  112. DBROWTYPE     Return the type of the current row.
  113. dbrpcinit    Initialize a remote procedure call.
  114. dbrpcparam    Add a parameter to a remote procedure call.
  115. dbrpcsend    Signal the end of a remote procedure call.
  116. dbrpwclr    Clear all remote passwords from the LOGINREC structure.
  117. dbrpwset    Add a remote password to the LOGINREC structure.
  118. dbsetavail     Mark a DBPROCESS as being available for general use.
  119. dbsetbusy     Call a user-supplied function when \*L is reading from 
  120.     \*S.
  121. dbsetconnect    Allocate and initialize a network connection structure.
  122. dbsetidle     Call a user-supplied function when \*L is finished reading from 
  123.     \*S.
  124. dbsetifile    Specify the name and location of the SYBASE interfaces file.
  125. dbsetinterrupt     Call user-supplied functions to handle interrupts while waiting on a read
  126.     from \*S.
  127. DBSETLAPP    Set the application name in the LOGINREC structure.
  128. DBSETLHOST    Set the host name in the LOGINREC structure.
  129. dbsetlogintime    Set the number of seconds that \*L waits for a \*S 
  130.     response to a request for a DBPROCESS connection.
  131. DBSETLPWD    Set the user \*S password in the LOGINREC structure.
  132. DBSETLUSER    Set the username in the LOGINREC structure.
  133. dbsetmaxprocs    Set the maximum number of simultaneously open DBPROCESSes.
  134. dbsetnull     Define substitution values to be used when binding null values.
  135. dbsetopt     Set a \*S or \*L option.
  136. dbsettime     Set the number of seconds that \*L will wait for a \*S 
  137.     response to a SQL command.
  138. dbsetuserdata    Use a DBPROCESS structure to save a pointer to user-allocated data.
  139. dbsqlexec     Send a command batch to \*S.
  140. dbsqlexec_a     Send a command batch to \*S (asynchronous \(em VMS only).
  141. dbsqlok    Wait for results from the \*S and verify the correctness 
  142.     of the instructions the \*S is responding to.
  143. dbsqlsend    Send a command batch to \*S and do not wait for a response.
  144. dbstrcpy     Copy a portion of the command buffer.
  145. dbstrlen     Return the length, in characters, of the command buffer.
  146. dbtabbrowse    Determine whether the specified table is updatable via the 
  147.     \*L browse-mode facilities.
  148. dbtabcount    Return the number of tables involved in the current SELECT query.
  149. dbtabname    Return the name of a table based on its number.
  150. dbtabsource    Return the name and number of the table from which a particular
  151.     result column was derived.
  152. dbtsnewlen    Return the length of the new value of the timestamp column after a
  153.     browse-mode update.
  154. dbtsnewval    Return the new value of the timestamp column after a browse-mode update.
  155. dbtsput    Put the new value of the timestamp column into the given table's current row 
  156.     in the DBPROCESS.
  157. dbtxptr    Return the value of the text pointer for a column in the current row.
  158. dbtxtimestamp    Return the value of the text timestamp for a column in the current row.
  159. dbtxtsnewval    Return the new value of a text timestamp after a call to \f2dbwritetext()\f1.
  160. dbtxtsput    Put the new value of a text timestamp into the specified column of the 
  161.     current row in the DBPROCESS.
  162. dbuse     Use a particular database.
  163. dbvarylen    Determine whether the specified regular result column's data can
  164.     vary in length.
  165. dbwillconvert    Determine whether a specific data conversion is available within 
  166.     \*L.
  167. dbwritepage     Write a page of binary data to \*S.
  168. dbwritetext     Send a text or image value to \*S.
  169. errors     The complete collection of \*L errors and error severities.
  170. options     The complete list of \*L options.
  171. types     The list of data typedefs and defines used by \*L.
  172. .ps +2
  173. .H1 "Bulk Copy Routines"
  174. .in 0
  175. .ta 1.3i
  176. \f3Routine    Description\f1
  177. .sp 0.5v
  178. .nf
  179. .ps -2
  180. bcp_batch    Save any preceding rows in \*S.
  181. bcp_bind    Bind data from a program variable to a \*S table.
  182. bcp_colfmt    Specify the format of a host file for bulk copy purposes.
  183. bcp_collen    Set the program variable data length for the current copy IN.
  184. bcp_colptr    Set the program variable data address for the current copy IN.
  185. bcp_columns    Set the total number of columns found in the host file.
  186. bcp_control    Change various control parameter default settings.
  187. bcp_done    End a bulk copy from program variables into \*S.
  188. bcp_exec    Execute a bulk copy of data between a database table and a host file.
  189. bcp_init    Initialize bulk copy.
  190. bcp_moretext    Send part of a text or image value to \*S.
  191. bcp_sendrow    Send a row of data from program variables to \*S.
  192. BCP_SETL    Set the LOGINREC for bulk copy operations.
  193. .ps +2
  194. .H1 "Two-Phase Commit Routines"
  195. .in 0
  196. .ta 1.3i
  197. \f3Routine    Description\f1
  198. .sp 0.5v
  199. .nf
  200. .ps -2
  201. abort_xact    Mark a distributed transaction as being aborted.
  202. build_xact_string    Build a name for a distributed transaction.
  203. close_commit    End a connection with the commit service.
  204. commit_xact    Mark a distributed transaction as being committed.
  205. open_commit    Establish a connection with the commit service.
  206. remove_xact    Decrement the count of sites still active in the distributed transaction.
  207. scan_xact    Print commit service record for distributed transactions.
  208. start_xact    Start a distributed transaction using the commit service.
  209. stat_xact    Return the current status of a distributed transaction.
  210. .ps +2
  211.